package com.wang.jmonkey.modules.sys.listener;

import org.springframework.boot.ConfigurableBootstrapContext;
import org.springframework.boot.SpringApplication;

public class SpringApplicationRunListener implements org.springframework.boot.SpringApplicationRunListener {

    private final SpringApplication application;
    private final String[] args;

    public SpringApplicationRunListener(SpringApplication sa, String[] args) {
        this.application = sa;
        this.args = args;
    }

    @Override
    public void starting(ConfigurableBootstrapContext bootstrapContext) {
        System.out.println("start");
    }
}
